package com.hr.fer.nmbp.lab2.domain;

public class Book {
	
	Integer id;
	String title;
	String authorName;
	String year;
	
	public Book() {
	
	}
	
	public Book(Integer id, String title, String authorName, String year) {
		this.id = id;
		this.title = title;
		this.authorName = authorName;
		this.year = year;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getYear() {
		return year;
	}
	
	
}
